package com.ml.mall.service.redis.impl;

import com.ml.mall.config.RedisConfiguration;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import com.ml.mall.service.redis.RedisServiceTest;

/**
 * Created by kyyang on 2021/5/31 20:28
 */
@Service
public class RedisServiceImplTest implements RedisServiceTest {

    @Override
    @Cacheable(value = RedisConfiguration.REDIS_DATA_I_H_CACHE)
    public String testRedis(String key) {
        return "redis_cash";
    }
}
